package cn.kantiezi.biz.artical.service.impl;

import cn.kantiezi.biz.artical.dao.service.ArticalDaoService;
import cn.kantiezi.biz.artical.service.ArticalUrlService;
import cn.kantiezi.dal.dao.ArticalUrlDAO;
import cn.kantiezi.dal.dataobject.ArticalUrl;

public class ArticalUrlServiceImpl implements ArticalUrlService {

    private ArticalDaoService articalDaoService;
    
    public int insertArticalUrl(ArticalUrl url) {
        ArticalUrlDAO articalDao = articalDaoService.getArticalUrlDao();       
        return articalDao.insert(url);
    }

    /**
     * @return Returns the articalDaoService.
     */
    public ArticalDaoService getArticalDaoService() {
        return this.articalDaoService;
    }

    /**
     * @param articalDaoService The articalDaoService to set.
     */
    public void setArticalDaoService(ArticalDaoService articalDaoService) {
        this.articalDaoService = articalDaoService;
    }



}
